package com.zeh.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zeh.common.utils.PageUtils;
import com.zeh.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author zuenhu
 * @email 2385541509@qq.com
 * @date 2025-07-22 14:25:52
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> aslist);

    // 找到catelogId的完整路径
    Long[] findCatelogPath(Long catelogId);

    void updateCascade(CategoryEntity category);
}

